package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @author wb
 * @since 2022-03-24
 */
@ApiModel(value = "Department对象", description = "销售团队管理")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "deptid", type = IdType.AUTO)
    private Integer deptid;

    private String deptname;

    @ApiModelProperty(value = "系统用户id  关联")
    private Integer deptuserid;

    private String deptusername;

    private String deptdesc;

    private Integer deptstate;


    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public Integer getDeptuserid() {
        return deptuserid;
    }

    public void setDeptuserid(Integer deptuserid) {
        this.deptuserid = deptuserid;
    }

    public String getDeptusername() {
        return deptusername;
    }

    public void setDeptusername(String deptusername) {
        this.deptusername = deptusername;
    }

    public String getDeptdesc() {
        return deptdesc;
    }

    public void setDeptdesc(String deptdesc) {
        this.deptdesc = deptdesc;
    }

    public Integer getDeptstate() {
        return deptstate;
    }

    public void setDeptstate(Integer deptstate) {
        this.deptstate = deptstate;
    }

    @Override
    public String toString() {
        return "Department{" +
                "deptid=" + deptid +
                ", deptname=" + deptname +
                ", deptuserid=" + deptuserid +
                ", deptusername=" + deptusername +
                ", deptdesc=" + deptdesc +
                ", deptstate=" + deptstate +
                "}";
    }
}
